import { ref } from "vue"

const columns = ref<Column[]>([
  {
    prop: "menuName",
    label: "菜单名称",
    sortable: true,
    align: "start"
  },
  {
    prop: "path",
    label: "路径地址",
    sortable: true
  },
  {
    prop: "menuCode",
    label: "权限标识",
    sortable: true
  },
  {
    prop: "menuType",
    label: "菜单类型",
    sortable: true,
    slotName: "menu-type"
  },
  {
    prop: "sort",
    label: "排序",
    sortable: true
  },
  {
    prop: "option",
    label: "操作",
    fixed: "right",
    slotName: "option"
  }
])

export { columns }
